package com.cresch.ical.downloader.ical;
import java.util.Date;

/**
 * 
 * @author Resch Christian
 *
 */
public class VEvent {
	private String id;
	private Date timeStamp;
	private Date start;
	private Date end;
	
	private String location;
	private String description;
	private String summary;
	
	public static final String STARTTAG = "BEGIN:VEVENT";
	public static final String ENDTAG = "END:VEVENT";
	public static final String UID = "UID"+VCalendar.DELIMITER;
	public static final String DTSTART = "DTSTART"+VCalendar.DELIMITER;
	public static final String LOCATION = "LOCATION"+VCalendar.DELIMITER;
	public static final String SUMMARY = "SUMMARY"+VCalendar.DELIMITER;
	public static final String DTEND = "DTEND"+VCalendar.DELIMITER;
	public static final String DESCRIPTION = "DESCRIPTION"+VCalendar.DELIMITER;
	
	public static final String DATEFORMAT = "yyyyMMdd";
	public static final String DATETIMEFORMAT = "yyyyMMdd'T'HHmmss";
	
	public VEvent (String id) {
		this.id = id;
	}

	public Date getTimeStamp() {
		return timeStamp;
	}

	public void setTimeStamp(Date timeStamp) {
		this.timeStamp = timeStamp;
	}

	public Date getStart() {
		return start;
	}

	public void setStart(Date start) {
		this.start = start;
	}

	public Date getEnd() {
		return end;
	}

	public void setEnd(Date end) {
		this.end = end;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getId() {
		return id;
	}	
}
